.btn-scroll-top {
  border-radius: 9px;
  background: #ffffffed;
  box-shadow: 0 2px 7px #0000001f;
  bottom: 66px;
  opacity: 1;
  position: fixed;
  right: 20px;
  transform: translateY(10px);
  transition: all 0.2s linear, margin-right 0s;
  visibility: hidden;
  z-index: 1010;
}

.btn-scroll-top,
.btn-scroll-top:after {
  cursor: pointer;
  display: block;
  height: 45px;
  width: 45px;
}

.btn-scroll-top:after {
  color: $primary;
  content: "";
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230b318f%0a'%3e%3cpath d='M8 12a.5.5 0 0 0 .5-.5V5.707l2.146 2.147a.5.5 0 0 0 .708-.708l-3-3a.5.5 0 0 0-.708 0l-3 3a.5.5 0 1 0 .708.708L7.5 5.707V11.5a.5.5 0 0 0 .5.5'/%3e%3c/svg%3e");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 32px;
  font-size: 24px;
  left: 0;
  line-height: 45px;
  position: absolute;
  text-align: center;
  top: 0;
  transition: all 0.2s linear;
  z-index: 1;
}

.btn-scroll-top.active-progress {
  transform: translateY(0);
  visibility: visible;
}

.btn-scroll-top {
  svg {
    width: 100%;
    height: 100%;
    path {
      fill: none;
    }
  }
}

.btn-scroll-top svg.progress-square path {
  stroke: $primary;
  stroke-width: 2;
  box-sizing: border-box;
  transition: all 0.2s linear;
}
